﻿<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="IniciarSesion.aspx.vb" Inherits="Forecast.Webforms.IniciarSesion" %>
<%@ Register assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" tagprefix="asp" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title></title>
   <link href="css/flint.css" rel="stylesheet" />
    <style type="text/css">
        .auto-style2
        {
            width: 47px;
        }
        .auto-style6 {
            width: 100px;
        }
        .auto-style7 {
            width: 86px;
        }
    </style>
</head>
<body>
     <form id="form1" runat="server">

    <asp:ScriptManager runat="server" ID="sm" EnableScriptGlobalization="true" EnableScriptLocalization="true"></asp:ScriptManager>

 <%-- <asp:Button ID="btnLogin" runat="server" Style="display: none" />
<asp:ModalPopupExtender ID="mpeLogin"  TargetControlID="btnLogin" PopupControlID="upLogin" BackgroundCssClass="vs12_light_opacity" runat="server"/>--%>
<asp:UpdatePanel runat="server" ID="upLogin">
    <ContentTemplate>
        <center>
            <br />
            <br />
            <br />
            <br />
            <br />
            <br />
            &nbsp;
            <div class="vs12_light_form vs12_light_form_modal" style="width:400px;" runat="server" id="pnlLogin">
            <div class="title">
                <p>
                    <asp:Image ID="Image1" runat="server" ImageUrl="~/css/flint/logoFlint.gif" />
                </p>
            </div>
            <div class="vs12_light_contenedorMsg" runat="server" id="ErroresLogin">
                <table style="width: 100%" runat="server" id="LblErrorLogin">
                    <tr>
                        <td style="width:24px; vertical-align: top">
                            <asp:Image ID="ImgErroresLogin" runat="server" ImageUrl="~/Images/icons/Mensaje/icoError.png"/> 
                        </td>
                        <td>
                            <asp:Label ID="lblErroresLogin" runat="server" Text=""/>
                        </td>
                    </tr>
                </table>
            </div>   
            <div class="content">
                <table id="tblIniciar" runat="server" visible="true">
                    <tr>
                        <td class="auto-style2">
                             &nbsp;

                        </td>
                                                <td class="auto-style7">
                            <label for="<%=txtNombreUsuario.ClientID%>">Username</label>
                        </td>
                        <td>
                            <asp:TextBox ID="txtNombreUsuario" runat="server" MaxLength="50" CssClass="w70p" Height="20px" Width="110px"></asp:TextBox>
                        </td>
                    </tr>
                    
                    <tr>
                        <td class="auto-style2">
                             &nbsp;
                        </td>
                        <td class="auto-style7">
                            <label for="<%=txtContrasena.ClientID%>">Password</label>
                        </td>
                        <td>
                            <asp:TextBox ID="txtContrasena" runat="server" MaxLength="50" CssClass="w70p" TextMode="Password" Height="20px" Width="110px"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td colspan="2">
                            
                        </td>
                    </tr>
                    <tr>
                        <td colspan="3" class="center">
                            <asp:LinkButton runat="server" ID="lbConstrasenaOlbvidada" Text="¿Has olvidado tu contraseña?" OnClick="LbContraseñaOlvidadaClick" Visible="False"/>
                        </td>
                    </tr>
                    <tr>
                        <td colspan="3" class="center">
                            <br />
                            <asp:Button runat="server" CssClass="boton" ID="btnSi" Text="Log On" OnClick="BtnIniciarSesionClick"/>
                        </td>
                    </tr>
                </table>
               <%-- <IFRAME name="Home" SRC="prueba22.aspx" width="350px" height="150px" border="0" frameborder="no" >Sorry, you need inline frames to fully see this page.</IFRAME>--%>

                <table id="tblRecuperar" runat="server" visible="false">
                    <tr>
                        <td>
                            <label>Ingrese su nombre de usuario o correo electrónico</label>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:TextBox runat="server" ID="txtRecuperar" CssClass="o2k7b_textbox" width="350px" MaxLength="100"/>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <br />
                            <br />
                            <br />
                            <br />
                            <asp:Button runat="server" CssClass="boton" ID="btnEnviar" Text="Enviar" OnClick="BtnEnviarClick"/>
                            <asp:Button runat="server" CssClass="boton" ID="btnVolver" Text="Volver" OnClick="BtnVolverClick"/>
                        </td>
                    </tr>
                </table>
            </div> 
            <div class="h30"></div>
        </div>
        </center>
    </ContentTemplate>
</asp:UpdatePanel>

   </form>
</body>
</html>
